<!DOCTYPE html>
<html lang="zh-CN">
@include('admin.head')
<body>
@if(session('__Ajax_RedirectFunc_status') == true)
    <div>
        <div class="alert alert-success alert-dismissible fade in" role="alert">
            <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                <span aria-hidden="true">&times;</span>
            </button>
            <h3>成功</h3>
            <p><?php echo session('__Ajax_RedirectFunc_message');?></p>
            <p><?php echo session('__Ajax_RedirectFunc_plugin');?></p>
        </div>
    </div>
@endif
@if(session('__Ajax_RedirectFunc_status') === false)
    <div >
        <div class="alert alert-danger alert-dismissible fade in" role="alert">
            <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                <span aria-hidden="true">&times;</span>
            </button>
            <h3>失败</h3>
            <p><?php echo session('__Ajax_RedirectFunc_message');?></p>
            <p><?php echo session('__Ajax_RedirectFunc_plugin');?></p>
        </div>
    </div>
@endif
<div class="container">
    <h1 style="text-align: center">在线打印预约系统-商家</h1>
    <br><br>
    <form  action="/_adminRegister" method="post" enctype="multipart/form-data" class=" form-signin form-horizontal" >
        <input type="hidden" name="_token" value="{{csrf_token()}}">
        <h3 class="form-signin-heading">注册</h3>
        <input name="shop_phone" type="text" class="form-control" placeholder="手机号" required autofocus>
        <input name="shop_password" type="text"  class="form-control" placeholder="密码" required>
        <input name="shop_name" type="text"  class="form-control" placeholder="店铺名称" required autofocus>
        <input name="shop_city" type="text"  class="form-control" placeholder="所在城市" required autofocus>
        <input name="shop_address" type="text"  class="form-control" placeholder="店铺地址" required autofocus><p></p>
        店铺封面图：
        <input type="file" name="shop_img">
        <p></p>
        <button class="btn btn-lg btn-warning btn-block" type="submit">注册</button>
        <a href="/" class="btn btn-lg btn-default btn-block" type="button">返回</a>
    </form>
</div> <!-- /container -->
</body>
</html>